<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>管理员组列表</title>
<link href="/majiang/Public/admin/css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="/majiang/Public/admin/js/jquery.js"></script>
</head>

<body>

	<div class="place">
		<span>位置：</span>
		<ul class="placeul">
			     <li><a href="<?php echo U('index/welcome');?>">首页</a></li>
                <li><a href="<?php echo U('userinfo/usersaninfo');?>">玩家充值统计</a></li>
		</ul>
    </div>
    
    <div class="formbody">
		<form name="seachform" id="seachform" action="<?php echo U('userinfo/usersaninfo');?>" method="post">
			<ul class="seachform">
				<li><label>昵称</label><input name="info[keyword]" id="keyword" value="<?php echo ($keyword); ?>" type="text" class="scinput" /></li>	
                 <li><label>金额</label><input name="info[keyword1]" id="keyword1" value="<?php echo ($keyword1); ?>" type="text" class="scinput" /></li>	  				
				<li><label>&nbsp;</label><input name="" type="submit" class="scbtn" value="查询"/></li>
			</ul>
		</form>
		<table class="tablelist">
			<thead>
				<tr>
					<th>昵称</th>
					<th>充值金额</th>
					<th>说明</th>
					<th>充值状态</th>
					<th>充值时间</th>
				</tr>
			</thead>
			<tbody>
				<?php if(is_array($listinfo)): $i = 0; $__LIST__ = $listinfo;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$admingroup): $mod = ($i % 2 );++$i;?><tr>
					<td><?php echo ($admingroup["nickname"]); ?></td>
					<td><?php echo ($admingroup["money"]); ?></td>
					<td><?php echo ($admingroup["remarks"]); ?></td>
					<td><?php echo ($admingroup['payflag']); ?></td>
					<td style="text-align:center;"><?php echo ($admingroup["addtime"]); ?></td>
				</tr><?php endforeach; endif; else: echo "" ;endif; ?>
			</tbody>
		</table>
		<?php echo ($pageinfo); ?>
    <script type="text/javascript">
            $('.tablelist tbody tr:odd').addClass('odd');
    </script>
    </div>
<script type="text/javascript" src="/majiang/Public/admin/css/Common/layer/layer.js"></script>
<script type="text/javascript">
	function delets(texts){
		   
		   var index = layer.confirm('您确定要删除？', {
			  btn: ['确认','取消'] //按钮
			}, function(){
			  
			  var tradeid = $(texts).parent().parent().find('td').eq(1).text();
			 
			  $(texts).load('<?php echo U('Userinfo/deladmin');?>',{admin_id:tradeid},function(data){
			      
					$(texts).parent().parent().remove();
					 layer.close(index);
				 
				});
			  
			});
		   
	   }
</script>
</body>

</html>